﻿using System;
using System.Collections.Generic;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Darwin.Source.Entities
{
    class Units
    {
        private Model model;
        private Vector3 position;
        private Vector3 goal;

        public Units(Model model, Vector3 position)
        {
            this.model = model;
            this.position = position;
        }

        public void setGoal(Vector3 newGoal)
        {
            this.goal = newGoal;
        }

        public void Draw()
        {
            // Draw Model
        }

        public void Update()
        {
            position = Vector3.Lerp(position, goal, 0.01f)
        }


    }
}
